#ifndef NANFEIMANAAGER_H
#define NANIFEIMANAGER_H
#define CMD_NANFEI_QUERY_EQUIT         1000
#define CMD_NANFEI_SET_EQUIPTNAME		1001
#define CMD_NANFEI_SET_FREQUENCY       1002
#define CMD_NANFEI_SET_TXPOWER			1003
#define CMD_NANFEI_SET_RESTART			1004
#define CMD_NANFEI_SET_AUTOCELLSEARCH	1005
#define CMD_NANFEI_TIME_SYNC           1006
#define CMD_NANFEI_RPT_CELLSEARCH		1100
#define NANFEI_RST_SUCESS              0
#define NANFEI_RST_FAILD               1
#define NANFEI_RST_ERROR_DEVNUM        2
#define NANFEI_RST_ERROR_DEVID         3
#define NANFEI_RST_ERROR_PAR           4
#define NANFEI_RST_ERROR_COMMAND       5

#define NANFEI_MSG_HEAD_LENGTH         20                
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#include "../../fep/type.h"
void handleMsgFromNanfei(char *msgBuf, int msgLen, char *input, int *inLen);

void sendMsgToNanfei(const char* buf, ssize_t len, char* output, int * outlen);

#ifdef __cplusplus
}
#endif

#endif
